package cn.iocoder.yudao.module.bill.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * System 错误码枚举类
 *
 * system 系统，使用 1-002-000-000 段
 */
public interface ErrorCodeConstants {
    ErrorCode BILL_NOT_EXISTS = new ErrorCode(2025_00100, "账单信息不存在");
    ErrorCode ACCOUNT_NOT_EXISTS = new ErrorCode(2025_00101, "账户信息不存在");
    ErrorCode TAG_NOT_EXISTS = new ErrorCode(2025_00102, "账单标签不存在");
    ErrorCode TAG_EXISTS = new ErrorCode(2025_00103, "账单标签已存在");
    ErrorCode CATE_NOT_EXISTS = new ErrorCode(2025_00104, "账单分类不存在");
    ErrorCode CATE_EXITS_CHILDREN = new ErrorCode(2025_00105, "存在存在子账单分类，无法删除");
    ErrorCode CATE_PARENT_NOT_EXITS = new ErrorCode(2025_00106,"父级账单分类不存在");
    ErrorCode CATE_PARENT_ERROR = new ErrorCode(2025_00107, "不能设置自己为父账单分类");
    ErrorCode CATE_CLS_NAME_DUPLICATE = new ErrorCode(2025_00108, "已经存在该分类的账单分类");
    ErrorCode CATE_PARENT_IS_CHILD = new ErrorCode(2025_00109, "不能设置自己的子BillCate为父BillCate");
}
